/**
 * Proyecto: Cognitum
 * Global IT Services 2008
 * @author Mislas
 */

Cognitum.Cartera.RamoContacto.Editor = Ext.extend(Karma.EBCard, {

	initComponent: function(){
		Ext.apply(this, {
			sections: [{
		        title: 'Generales',
		        items: [{
					xtype: 'entity.link',
					entityName: 'Contacto Persona Moral',
	                fieldLabel: 'Contacto',
					disabled: true,
	                name: 'Contacto'
	            },{
					xtype: 'entity.link',
					entityName: 'Ramos',
	                fieldLabel: 'Ramo',
	                name: 'Ramo'
	            }]
			},{
				xtype: 'aud.editor',
				title: 'Info registro'
			}]
		});
		Cognitum.Cartera.RamoContacto.Editor.superclass.initComponent.apply(this, arguments);
	}
});

Ext.reg('ramc.editor', Cognitum.Cartera.RamoContacto.Editor);
